-
Home
-
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
-
2.40.1
-
Code
-
Classes
- Subscription
Total Complexity |
62 |
Dependencies |
4 |
Dependents |
9 |
Total lines |
498 |
Lines of code |
289 |
Logical lines of code |
139 |
Comment lines |
118 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
cancel() |
S |
47 |
6 |
37 |
restore() |
S |
50 |
6 |
29 |
renew() |
S |
50 |
5 |
30 |
complete() |
S |
51 |
5 |
29 |
upcomingPeriod() |
S |
50 |
5 |
29 |
update() |
S |
51 |
5 |
26 |
preserve() |
S |
52 |
5 |
25 |
payOff() |
S |
52 |
5 |
25 |
checkIfCanBeSwitched() |
S |
59 |
5 |
15 |
shouldDelayCancellation() |
S |
59 |
4 |
13 |
checkIfCanBeCanceled() |
S |
65 |
3 |
9 |
checkIfCanUpdateQuantity() |
S |
71 |
2 |
6 |
isLifetime() |
S |
78 |
2 |
3 |
canBeCanceled() |
S |
79 |
1 |
3 |
canUpdateQuantity() |
S |
79 |
1 |
3 |
canBeSwitched() |
S |
79 |
1 |
3 |
stats() |
S |
75 |
1 |
4 |